Nodes > Control Flow > Foreach

Executes the Body execution port once for each element of the array, providing the current element in the Object port. After all items have been iterated through, the Then port is executed.
Inputs
| Name | Type | Description |
|---|---|---|
| array | array | Array to iterate through |
Outputs
| Name | Type | Description |
|---|---|---|
| Body | Execution | Executes for each item in the array |
| Object | any | Current item in the array |
| Then | Execution | Executes after loops are finished |
Was this page helpful?